﻿using Newtonsoft.Json;

namespace Aquarinum.Base.Infrastructure.WebSocket.Dtos
{
    public class AuthResultDto
    {
        /// <summary>
        ///     访问Token
        /// </summary>
        [JsonProperty(PropertyName = "token")]
        public string Token { get; set; }


        /// <summary>
        ///     返回id 对其他字段做对称加密，然后客户端解密后跟上面的属性做对比
        /// </summary>
        [JsonProperty(PropertyName = "id")]
        public string Id { get; set; }
    }
}